home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12606 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  3.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news text default
99% file C source, ASCII text, with very long lines (411) default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 67 72 | 65 65 6e 2e 77 65 65 67 |Path: gr|een.weeg|
|00000010| 2e 75 69 6f 77 61 2e 65 | 64 75 21 72 6f 62 69 6e |.uiowa.e|du!robin|
|00000020| 73 6f 6e 0a 46 72 6f 6d | 3a 20 54 68 65 20 41 6d |son.From|: The Am|
|00000030| 6f 72 70 68 6f 75 73 20 | 4d 61 73 73 20 3c 72 6f |orphous |Mass <ro|
|00000040| 62 69 6e 73 6f 6e 40 62 | 6c 75 65 2e 77 65 65 67 |binson@b|lue.weeg|
|00000050| 2e 75 69 6f 77 61 2e 65 | 64 75 3e 0a 4e 65 77 73 |.uiowa.e|du>.News|
|00000060| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 6c 61 6e |groups: |comp.lan|
|00000070| 67 2e 63 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |g.c.Subj|ect: Re:|
|00000080| 20 42 6f 72 6c 61 6e 64 | 20 43 27 73 20 74 6d 70 | Borland| C's tmp|
|00000090| 6e 61 6d 28 29 0a 44 61 | 74 65 3a 20 4d 6f 6e 2c |nam().Da|te: Mon,|
|000000a0| 20 31 20 41 70 72 20 31 | 39 39 36 20 31 37 3a 35 | 1 Apr 1|996 17:5|
|000000b0| 37 3a 33 35 20 2d 30 36 | 30 30 0a 4f 72 67 61 6e |7:35 -06|00.Organ|
|000000c0| 69 7a 61 74 69 6f 6e 3a | 20 55 6e 69 76 65 72 73 |ization:| Univers|
|000000d0| 69 74 79 20 6f 66 20 49 | 6f 77 61 2c 20 49 6f 77 |ity of I|owa, Iow|
|000000e0| 61 20 43 69 74 79 2c 20 | 49 41 2c 20 55 53 41 0a |a City, |IA, USA.|
|000000f0| 44 69 73 74 72 69 62 75 | 74 69 6f 6e 3a 20 77 6f |Distribu|tion: wo|
|00000100| 72 6c 64 0a 4d 65 73 73 | 61 67 65 2d 49 44 3a 20 |rld.Mess|age-ID: |
|00000110| 3c 50 69 6e 65 2e 41 33 | 32 2e 33 2e 39 31 2e 39 |<Pine.A3|2.3.91.9|
|00000120| 36 30 34 30 31 31 37 35 | 30 35 36 2e 36 35 36 33 |60401175|056.6563|
|00000130| 30 48 2d 31 30 30 30 30 | 30 40 67 72 65 65 6e 2e |0H-10000|0@green.|
|00000140| 77 65 65 67 2e 75 69 6f | 77 61 2e 65 64 75 3e 0a |weeg.uio|wa.edu>.|
|00000150| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 41 44 37 |Referenc|es: <AD7|
|00000160| 35 45 35 44 43 39 36 36 | 38 45 32 41 35 32 40 6d |5E5DC966|8E2A52@m|
|00000170| 63 64 69 61 6c 61 31 33 | 2e 69 74 2e 6c 75 63 2e |cdiala13|.it.luc.|
|00000180| 65 64 75 3e 20 3c 50 69 | 6e 65 2e 41 33 32 2e 33 |edu> <Pi|ne.A32.3|
|00000190| 2e 39 31 2e 39 36 30 33 | 32 32 31 33 34 31 35 38 |.91.9603|22134158|
|000001a0| 2e 32 33 33 34 37 41 2d | 31 30 30 30 30 30 40 72 |.23347A-|100000@r|
|000001b0| 65 64 2e 77 65 65 67 2e | 75 69 6f 77 61 2e 65 64 |ed.weeg.|uiowa.ed|
|000001c0| 75 3e 20 3c 41 44 37 38 | 45 35 45 37 39 36 36 38 |u> <AD78|E5E79668|
|000001d0| 31 45 43 35 38 40 6d 63 | 64 69 61 6c 62 31 30 2e |1EC58@mc|dialb10.|
|000001e0| 69 74 2e 6c 75 63 2e 65 | 64 75 3e 20 3c 38 32 37 |it.luc.e|du> <827|
|000001f0| 36 32 36 37 39 30 73 6e | 7a 40 67 65 6e 65 73 69 |626790sn|z@genesi|
|00000200| 73 2e 64 65 6d 6f 6e 2e | 63 6f 2e 75 6b 3e 20 3c |s.demon.|co.uk> <|
|00000210| 41 44 37 43 44 46 44 33 | 39 36 36 38 41 41 42 44 |AD7CDFD3|9668AABD|
|00000220| 32 40 6d 63 64 69 61 6c | 61 30 31 2e 69 74 2e 6c |2@mcdial|a01.it.l|
|00000230| 75 63 2e 65 64 75 3e 20 | 3c 38 32 38 32 37 36 39 |uc.edu> |<8282769|
|00000240| 34 36 73 6e 7a 40 67 65 | 6e 65 73 69 73 2e 64 65 |46snz@ge|nesis.de|
|00000250| 6d 6f 6e 2e 63 6f 2e 75 | 6b 3e 20 3c 41 44 38 34 |mon.co.u|k> <AD84|
|00000260| 41 37 33 34 39 36 36 38 | 31 37 31 39 41 32 40 6d |A7349668|1719A2@m|
|00000270| 63 64 69 61 6c 61 30 33 | 2e 69 74 2e 6c 75 63 2e |cdiala03|.it.luc.|
|00000280| 65 64 75 3e 20 3c 50 69 | 6e 65 2e 41 33 32 2e 33 |edu> <Pi|ne.A32.3|
|00000290| 2e 39 31 2e 39 36 30 33 | 33 31 32 33 32 30 33 36 |.91.9603|31232036|
|000002a0| 2e 31 37 33 35 31 46 2d | 31 30 30 30 30 30 40 72 |.17351F-|100000@r|
|000002b0| 65 64 2e 77 65 65 67 2e | 75 69 6f 77 61 2e 65 64 |ed.weeg.|uiowa.ed|
|000002c0| 75 3e 20 3c 41 44 38 35 | 42 31 46 34 39 36 36 38 |u> <AD85|B1F49668|
|000002d0| 45 32 44 35 34 40 6d 63 | 64 69 61 6c 61 31 31 2e |E2D54@mc|diala11.|
|000002e0| 69 74 2e 6c 75 63 2e 65 | 64 75 3e 0a 4e 4e 54 50 |it.luc.e|du>.NNTP|
|000002f0| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 67 |-Posting|-Host: g|
|00000300| 72 65 65 6e 2e 77 65 65 | 67 2e 75 69 6f 77 61 2e |reen.wee|g.uiowa.|
|00000310| 65 64 75 0a 4d 69 6d 65 | 2d 56 65 72 73 69 6f 6e |edu.Mime|-Version|
|00000320| 3a 20 31 2e 30 0a 43 6f | 6e 74 65 6e 74 2d 54 79 |: 1.0.Co|ntent-Ty|
|00000330| 70 65 3a 20 54 45 58 54 | 2f 50 4c 41 49 4e 3b 20 |pe: TEXT|/PLAIN; |
|00000340| 63 68 61 72 73 65 74 3d | 55 53 2d 41 53 43 49 49 |charset=|US-ASCII|
|00000350| 0a 58 2d 53 65 6e 64 65 | 72 3a 20 72 6f 62 69 6e |.X-Sende|r: robin|
|00000360| 73 6f 6e 40 67 72 65 65 | 6e 2e 77 65 65 67 2e 75 |son@gree|n.weeg.u|
|00000370| 69 6f 77 61 2e 65 64 75 | 0a 49 6e 2d 52 65 70 6c |iowa.edu|.In-Repl|
|00000380| 79 2d 54 6f 3a 20 3c 41 | 44 38 35 42 31 46 34 39 |y-To: <A|D85B1F49|
|00000390| 36 36 38 45 32 44 35 34 | 40 6d 63 64 69 61 6c 61 |668E2D54|@mcdiala|
|000003a0| 31 31 2e 69 74 2e 6c 75 | 63 2e 65 64 75 3e 20 0a |11.it.lu|c.edu> .|
|000003b0| 0a 4f 6e 20 4d 6f 6e 2c | 20 31 20 41 70 72 20 31 |.On Mon,| 1 Apr 1|
|000003c0| 39 39 36 2c 20 56 65 72 | 6e 65 20 41 72 61 73 65 |996, Ver|ne Arase|
|000003d0| 20 77 72 6f 74 65 3a 0a | 0a 3e 20 54 68 65 20 41 | wrote:.|.> The A|
|000003e0| 6d 6f 72 70 68 6f 75 73 | 20 4d 61 73 73 20 3c 72 |morphous| Mass <r|
|000003f0| 6f 62 69 6e 73 6f 6e 40 | 62 6c 75 65 2e 77 65 65 |obinson@|blue.wee|
|00000400| 67 2e 75 69 6f 77 61 2e | 65 64 75 3e 20 77 72 6f |g.uiowa.|edu> wro|
|00000410| 74 65 3a 0a 3e 20 20 3e | 20 20 41 73 20 66 61 72 |te:.> >| As far|
|00000420| 20 61 73 20 74 68 65 20 | 66 69 6c 65 20 73 79 73 | as the |file sys|
|00000430| 74 65 6d 20 69 73 20 63 | 6f 6e 63 65 72 6e 65 64 |tem is c|oncerned|
|00000440| 2c 20 74 77 6f 20 66 69 | 6c 65 73 20 6e 61 6d 65 |, two fi|les name|
|00000450| 64 20 22 66 6f 6f 22 20 | 69 6e 20 0a 3e 20 20 3e |d "foo" |in .> >|
|00000460| 64 69 66 66 65 72 65 6e | 74 20 64 69 72 65 63 74 |differen|t direct|
|00000470| 6f 72 69 65 73 20 5f 64 | 6f 6e 27 74 5f 20 68 61 |ories _d|on't_ ha|
|00000480| 76 65 20 74 68 65 20 73 | 61 6d 65 20 6e 61 6d 65 |ve the s|ame name|
|00000490| 2c 20 62 65 63 61 75 73 | 65 20 74 68 65 20 66 75 |, becaus|e the fu|
|000004a0| 6c 6c 20 0a 3e 20 20 3e | 70 61 74 68 6e 61 6d 65 |ll .> >|pathname|
|000004b0| 20 69 73 20 75 73 65 64 | 20 61 73 20 61 20 75 6e | is used| as a un|
|000004c0| 69 71 75 65 20 69 64 65 | 6e 74 69 66 69 65 72 2e |ique ide|ntifier.|
|000004d0| 20 20 4e 6f 74 65 20 74 | 68 61 74 20 76 65 72 73 | Note t|hat vers|
|000004e0| 69 6f 6e 73 20 6f 66 20 | 43 20 66 6f 72 20 74 68 |ions of |C for th|
|000004f0| 65 0a 3e 20 20 3e 6f 72 | 69 67 69 6e 61 6c 20 4d |e.> >or|iginal M|
|00000500| 61 63 20 66 69 6c 65 20 | 73 79 73 74 65 6d 20 28 |ac file |system (|
|00000510| 77 68 69 63 68 20 6f 6e | 6c 79 20 70 72 6f 76 69 |which on|ly provi|
|00000520| 64 65 64 20 74 68 65 20 | 69 6c 6c 75 73 69 6f 6e |ded the |illusion|
|00000530| 20 6f 66 20 66 6f 6c 64 | 65 72 73 2c 20 0a 3e 20 | of fold|ers, .> |
|00000540| 20 3e 61 6e 64 20 64 69 | 64 6e 27 74 20 61 6c 6c | >and di|dn't all|
|00000550| 6f 77 20 61 6e 79 20 74 | 77 6f 20 66 69 6c 65 73 |ow any t|wo files|
|00000560| 20 74 6f 20 68 61 76 65 | 20 74 68 65 20 73 61 6d | to have| the sam|
|00000570| 65 20 6e 61 6d 65 29 20 | 77 6f 75 6c 64 20 69 6e |e name) |would in|
|00000580| 20 66 61 63 74 20 68 61 | 76 65 20 0a 3e 20 20 3e | fact ha|ve .> >|
|00000590| 68 61 64 20 74 6f 20 63 | 6f 6d 65 20 75 70 20 77 |had to c|ome up w|
|000005a0| 69 74 68 20 61 20 74 6f | 74 61 6c 6c 79 20 75 6e |ith a to|tally un|
|000005b0| 69 71 75 65 20 66 69 6c | 65 6e 61 6d 65 2e 0a 3e |ique fil|ename..>|
|000005c0| 20 0a 3e 20 41 73 20 4d | 46 53 20 6f 6e 6c 79 20 | .> As M|FS only |
|000005d0| 63 72 65 61 74 65 64 20 | 74 68 65 20 5f 69 6c 6c |created |the _ill|
|000005e0| 75 73 69 6f 6e 5f 20 6f | 66 20 66 6f 6c 64 65 72 |usion_ o|f folder|
|000005f0| 73 2c 20 61 6c 6c 20 66 | 69 6c 65 73 20 5f 77 65 |s, all f|iles _we|
|00000600| 72 65 5f 20 69 6e 20 74 | 68 65 20 73 61 6d 65 0a |re_ in t|he same.|
|00000610| 3e 20 6c 6f 63 61 74 69 | 6f 6e 20 69 6e 20 74 68 |> locati|on in th|
|00000620| 65 20 66 69 6c 65 20 73 | 79 73 74 65 6d 2e 0a 0a |e file s|ystem...|
|00000630| 20 20 45 78 61 63 74 6c | 79 2e 20 20 54 68 65 20 | Exactl|y. The |
|00000640| 66 69 6c 65 6e 61 6d 65 | 20 5f 77 61 73 5f 20 74 |filename| _was_ t|
|00000650| 68 65 20 66 75 6c 6c 20 | 70 61 74 68 6e 61 6d 65 |he full |pathname|
|00000660| 2e 0a 0a 3e 20 41 73 20 | 66 6f 72 20 74 68 65 20 |...> As |for the |
|00000670| 66 69 6c 65 20 6e 61 6d | 65 73 20 72 65 74 75 72 |file nam|es retur|
|00000680| 6e 65 64 20 74 6d 70 6e | 61 6d 28 29 2c 20 74 68 |ned tmpn|am(), th|
|00000690| 65 79 20 61 72 65 20 5f | 6e 6f 74 5f 20 63 6f 6d |ey are _|not_ com|
|000006a0| 70 6c 65 74 65 20 70 61 | 74 68 0a 3e 20 6e 61 6d |plete pa|th.> nam|
|000006b0| 65 73 2e 20 54 68 65 72 | 65 66 6f 72 65 2c 20 74 |es. Ther|efore, t|
|000006c0| 68 65 79 20 61 72 65 20 | 6f 6e 6c 79 20 75 6e 69 |hey are |only uni|
|000006d0| 71 75 65 20 61 74 20 74 | 68 65 20 62 72 61 6e 63 |que at t|he branc|
|000006e0| 68 20 6f 66 20 74 68 65 | 20 66 69 6c 65 20 73 79 |h of the| file sy|
|000006f0| 73 74 65 6d 0a 3e 20 77 | 68 69 63 68 20 69 73 20 |stem.> w|hich is |
|00000700| 63 75 72 72 65 6e 74 6c | 79 20 74 68 65 20 64 65 |currentl|y the de|
|00000710| 66 61 75 6c 74 20 6c 6f | 63 61 74 69 6f 6e 2e 0a |fault lo|cation..|
|00000720| 0a 20 20 4e 6f 2c 20 62 | 75 74 20 73 69 6e 63 65 |. No, b|ut since|
|00000730| 20 74 68 65 79 20 61 72 | 65 20 67 65 6e 65 72 61 | they ar|e genera|
|00000740| 74 65 64 20 61 74 20 6f | 6e 65 20 62 72 61 6e 63 |ted at o|ne branc|
|00000750| 68 20 6f 66 20 74 68 65 | 20 66 69 6c 65 20 73 79 |h of the| file sy|
|00000760| 73 74 65 6d 20 74 68 65 | 69 72 20 0a 66 75 6c 6c |stem the|ir .full|
|00000770| 20 70 61 74 68 6e 61 6d | 65 73 20 61 72 65 20 75 | pathnam|es are u|
|00000780| 6e 69 71 75 65 2e 20 20 | 49 27 6d 20 6e 6f 74 20 |nique. |I'm not |
|00000790| 73 61 79 69 6e 67 20 74 | 68 61 74 20 74 6d 70 6e |saying t|hat tmpn|
|000007a0| 61 6d 28 29 20 67 65 6e | 65 72 61 74 65 73 20 61 |am() gen|erates a|
|000007b0| 6e 20 0a 65 6e 74 69 72 | 65 20 75 6e 69 71 75 65 |n .entir|e unique|
|000007c0| 20 70 61 74 68 6e 61 6d | 65 2c 20 49 27 6d 20 73 | pathnam|e, I'm s|
|000007d0| 61 79 69 6e 67 20 74 68 | 61 74 20 69 74 20 63 6f |aying th|at it co|
|000007e0| 6e 73 69 64 65 72 73 20 | 74 68 65 20 65 6e 74 69 |nsiders |the enti|
|000007f0| 72 65 20 70 61 74 68 6e | 61 6d 65 20 0a 77 68 65 |re pathn|ame .whe|
|00000800| 6e 20 64 65 74 65 72 6d | 69 6e 69 6e 67 20 75 6e |n determ|ining un|
|00000810| 69 71 75 65 6e 65 73 73 | 2e 20 20 54 68 65 20 63 |iqueness|. The c|
|00000820| 68 65 61 70 2c 20 65 61 | 73 79 20 61 6e 64 20 70 |heap, ea|sy and p|
|00000830| 6f 72 74 61 62 6c 65 20 | 77 61 79 20 74 6f 20 64 |ortable |way to d|
|00000840| 6f 20 74 68 61 74 20 0a | 69 73 20 74 6f 20 6f 6e |o that .|is to on|
|00000850| 6c 79 20 63 6f 6e 73 69 | 64 65 72 20 74 68 65 20 |ly consi|der the |
|00000860| 63 75 72 72 65 6e 74 20 | 64 69 72 65 63 74 6f 72 |current |director|
|00000870| 79 2c 20 73 69 6e 63 65 | 20 66 69 6c 65 73 20 69 |y, since| files i|
|00000880| 6e 20 6f 74 68 65 72 20 | 64 69 72 65 63 74 6f 72 |n other |director|
|00000890| 69 65 73 20 0a 61 75 74 | 6f 6d 61 74 69 63 61 6c |ies .aut|omatical|
|000008a0| 6c 79 20 68 61 76 65 20 | 64 69 66 66 65 72 65 6e |ly have |differen|
|000008b0| 74 20 66 75 6c 6c 20 70 | 61 74 68 6e 61 6d 65 73 |t full p|athnames|
|000008c0| 2e 0a 0a 3e 20 20 3e 3e | 20 49 74 27 73 20 62 65 |...> >>| It's be|
|000008d0| 20 61 20 6c 6f 74 20 6d | 6f 72 65 20 75 73 65 66 | a lot m|ore usef|
|000008e0| 75 6c 20 69 66 20 79 6f | 75 20 63 6f 75 6c 64 20 |ul if yo|u could |
|000008f0| 73 70 65 63 69 66 79 20 | 61 20 74 61 72 67 65 74 |specify |a target|
|00000900| 20 64 69 72 65 63 74 6f | 72 79 2c 0a 3e 20 74 68 | directo|ry,.> th|
|00000910| 6f 75 67 68 0a 3e 20 20 | 3e 3e 20 74 68 65 20 73 |ough.> |>> the s|
|00000920| 74 72 69 6e 67 20 74 68 | 61 74 20 6d 61 6b 65 73 |tring th|at makes|
|00000930| 20 75 70 20 74 68 61 74 | 20 73 70 65 63 69 66 69 | up that| specifi|
|00000940| 63 61 74 69 6f 6e 20 77 | 6f 75 6c 64 20 62 65 20 |cation w|ould be |
|00000950| 74 61 72 67 65 74 20 65 | 6e 76 69 72 6f 6e 6d 65 |target e|nvironme|
|00000960| 6e 74 0a 3e 20 20 3e 3e | 20 64 65 70 65 6e 64 61 |nt.> >>| dependa|
|00000970| 6e 74 2e 0a 3e 20 20 3e | 0a 3e 20 20 3e 20 20 49 |nt..> >|.> > I|
|00000980| 66 20 69 74 27 73 20 61 | 20 74 65 6d 70 6f 72 61 |f it's a| tempora|
|00000990| 72 79 20 66 69 6c 65 2c | 20 64 6f 65 73 20 69 74 |ry file,| does it|
|000009a0| 20 72 65 61 6c 6c 79 20 | 6d 61 74 74 65 72 20 77 | really |matter w|
|000009b0| 68 65 72 65 20 69 74 20 | 65 6e 64 73 20 75 70 3f |here it |ends up?|
|000009c0| 20 20 59 6f 75 20 0a 3e | 20 20 3e 63 61 6e 20 61 | You .>| >can a|
|000009d0| 6c 77 61 79 73 20 72 65 | 6e 61 6d 65 28 29 20 69 |lways re|name() i|
|000009e0| 74 20 74 6f 20 61 6e 6f | 74 68 65 72 20 64 69 72 |t to ano|ther dir|
|000009f0| 65 63 74 6f 72 79 20 28 | 75 73 69 6e 67 20 61 6e |ectory (|using an|
|00000a00| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 2d | impleme|ntation-|
|00000a10| 20 0a 3e 20 20 3e 73 70 | 65 63 69 66 69 63 20 73 | .> >sp|ecific s|
|00000a20| 74 72 69 6e 67 29 20 69 | 66 20 79 6f 75 20 77 61 |tring) i|f you wa|
|00000a30| 6e 74 20 74 6f 20 6b 65 | 65 70 20 69 74 20 61 66 |nt to ke|ep it af|
|00000a40| 74 65 72 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |ter the |program |
|00000a50| 74 65 72 6d 69 6e 61 74 | 65 73 2e 0a 3e 20 0a 3e |terminat|es..> .>|
|00000a60| 20 49 27 6d 20 75 73 69 | 6e 67 0a 3e 20 0a 3e 20 | I'm usi|ng.> .> |
|00000a70| 20 31 29 20 43 72 65 61 | 74 65 20 61 20 74 65 6d | 1) Crea|te a tem|
|00000a80| 70 6f 72 61 72 79 0a 3e | 20 20 32 29 20 55 70 64 |porary.>| 2) Upd|
|00000a90| 61 74 65 20 6d 61 73 74 | 65 72 20 69 6e 74 6f 20 |ate mast|er into |
|00000aa0| 74 65 6d 70 6f 72 61 72 | 79 0a 3e 20 20 33 29 20 |temporar|y.> 3) |
|00000ab0| 44 65 6c 65 74 65 20 6d | 61 73 74 65 72 20 28 6f |Delete m|aster (o|
|00000ac0| 72 20 72 65 6e 61 6d 65 | 20 69 74 20 74 6f 20 6d |r rename| it to m|
|00000ad0| 61 73 74 65 72 2e 6f 6c | 64 29 0a 3e 20 20 34 29 |aster.ol|d).> 4)|
|00000ae0| 20 52 65 6e 61 6d 65 20 | 74 65 6d 70 6f 72 61 72 | Rename |temporar|
|00000af0| 79 20 74 6f 20 6d 61 73 | 74 65 72 0a 3e 20 0a 3e |y to mas|ter.> .>|
|00000b00| 20 74 79 70 65 20 6c 6f | 67 69 63 2e 20 43 72 65 | type lo|gic. Cre|
|00000b10| 61 74 69 6e 67 20 74 68 | 65 20 74 65 6d 70 6f 72 |ating th|e tempor|
|00000b20| 61 72 79 20 66 69 6c 65 | 20 69 6e 20 74 68 65 20 |ary file| in the |
|00000b30| 6d 61 73 74 65 72 27 73 | 20 64 69 72 65 63 74 6f |master's| directo|
|00000b40| 72 79 20 61 6c 6c 6f 77 | 73 0a 3e 20 79 6f 75 20 |ry allow|s.> you |
|00000b50| 74 6f 20 64 65 74 65 63 | 74 20 77 68 65 74 68 65 |to detec|t whethe|
|00000b60| 72 20 79 6f 75 20 68 61 | 76 65 20 70 72 69 76 69 |r you ha|ve privi|
|00000b70| 6c 65 67 65 20 6f 72 20 | 64 69 73 6b 20 73 70 61 |lege or |disk spa|
|00000b80| 63 65 20 70 72 6f 62 6c | 65 6d 73 20 65 61 72 6c |ce probl|ems earl|
|00000b90| 79 20 69 6e 0a 3e 20 70 | 72 6f 63 65 73 73 69 6e |y in.> p|rocessin|
|00000ba0| 67 20 28 61 6e 64 20 62 | 65 66 6f 72 65 20 79 6f |g (and b|efore yo|
|00000bb0| 75 20 62 6c 6f 77 20 61 | 77 61 79 20 74 68 65 20 |u blow a|way the |
|00000bc0| 6f 6c 64 20 6d 61 73 74 | 65 72 29 2e 0a 0a 20 20 |old mast|er)... |
|00000bd0| 4f 4b 2c 20 74 68 65 6e | 2e 20 20 47 65 74 20 61 |OK, then|. Get a|
|00000be0| 20 6e 61 6d 65 20 66 72 | 6f 6d 20 74 6d 70 6e 61 | name fr|om tmpna|
|00000bf0| 6d 28 29 2c 20 75 73 65 | 20 73 70 72 69 6e 74 66 |m(), use| sprintf|
|00000c00| 28 29 20 74 6f 20 61 70 | 70 65 6e 64 20 69 74 20 |() to ap|pend it |
|00000c10| 74 6f 20 61 6e 20 0a 69 | 6d 70 6c 65 6d 65 6e 74 |to an .i|mplement|
|00000c20| 61 74 69 6f 6e 2d 73 70 | 65 63 69 66 69 63 20 73 |ation-sp|ecific s|
|00000c30| 74 72 69 6e 67 20 73 70 | 65 63 69 66 79 69 6e 67 |tring sp|ecifying|
|00000c40| 20 74 68 65 20 66 75 6c | 6c 20 70 61 74 68 20 74 | the ful|l path t|
|00000c50| 6f 20 74 68 65 20 6d 61 | 73 74 65 72 20 0a 66 69 |o the ma|ster .fi|
|00000c60| 6c 65 27 73 20 64 69 72 | 65 63 74 6f 72 79 2c 20 |le's dir|ectory, |
|00000c70| 61 6e 64 20 66 6f 70 65 | 6e 28 29 20 74 68 61 74 |and fope|n() that|
|00000c80| 3b 20 65 67 2e 0a 0a 23 | 69 6e 63 6c 75 64 65 20 |; eg...#|include |
|00000c90| 3c 73 74 64 69 6f 2e 68 | 3e 0a 0a 63 68 61 72 20 |<stdio.h|>..char |
|00000ca0| 66 6e 61 6d 65 5b 42 49 | 47 5f 45 4e 4f 55 47 48 |fname[BI|G_ENOUGH|
|00000cb0| 5d 3b 0a 63 68 61 72 20 | 74 6e 61 6d 65 5b 4c 5f |];.char |tname[L_|
|00000cc0| 74 6d 70 6e 61 6d 20 2b | 20 31 5d 3b 0a 0a 74 6d |tmpnam +| 1];..tm|
|00000cd0| 70 6e 61 6d 28 74 6e 61 | 6d 65 29 3b 0a 73 70 72 |pnam(tna|me);.spr|
|00000ce0| 69 6e 74 66 28 66 6e 61 | 6d 65 2c 20 22 2f 75 73 |intf(fna|me, "/us|
|00000cf0| 72 2f 66 6f 6f 2f 62 61 | 7a 2f 62 6c 6f 72 63 68 |r/foo/ba|z/blorch|
|00000d00| 2f 62 61 72 2f 79 75 6b | 2f 6d 61 73 74 65 72 2f |/bar/yuk|/master/|
|00000d10| 25 73 22 2c 20 74 6e 61 | 6d 65 29 3b 0a 66 6f 70 |%s", tna|me);.fop|
|00000d20| 65 6e 28 66 6e 61 6d 65 | 2c 20 22 77 22 29 3b 0a |en(fname|, "w");.|
|00000d30| 0a 2f 2a 2a 4a 61 6d 65 | 73 20 52 6f 62 69 6e 73 |./**Jame|s Robins|
|00000d40| 6f 6e 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |on******|********|
|00000d50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 20 20 20 20 20 20 20 |********|* |
|00000d60| 20 20 20 20 20 0a 20 20 | 22 49 66 20 61 20 66 61 | . |"If a fa|
|00000d70| 74 61 6c 20 65 72 72 6f | 72 20 6f 63 63 75 72 73 |tal erro|r occurs|
|00000d80| 2c 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 73 68 |, the pr|ogram sh|
|00000d90| 6f 75 6c 64 20 6e 6f 74 | 20 62 65 20 61 6c 6c 6f |ould not| be allo|
|00000da0| 77 65 64 20 74 6f 20 63 | 6f 6e 74 69 6e 75 65 2e |wed to c|ontinue.|
|00000db0| 22 0a 20 2d 2d 20 4f 72 | 61 63 6c 65 20 50 72 6f |". -- Or|acle Pro|
|00000dc0| 2a 43 20 55 73 65 72 27 | 73 20 47 75 69 64 65 20 |*C User'|s Guide |
|00000dd0| 20 20 20 20 20 20 20 20 | 2a 2a 2a 2a 2a 2a 2a 2a | |********|
|00000de0| 2a 2a 2a 2a 2a 6a 61 6d | 65 73 2d 72 6f 62 69 6e |*****jam|es-robin|
|00000df0| 73 6f 6e 40 75 69 6f 77 | 61 2e 65 64 75 2a 2a 2f |son@uiow|a.edu**/|
|00000e00| 0a 0a 0a 0a | |.... | |
+--------+-------------------------+-------------------------+--------+--------+